[1] 1 2 3 4 5
Source : University of Melbourne
The most common type of object in R is vector
Vectors can store all types of data: integers, characters, logical
age with 5 values?What?
In their own words, RStudio projects make it straightforward to divide your work into multiple contexts, each with their own working directory, workspace, history, and source documents
Why
Although R keeps track of various different events that have happened but it has no idea which events are associated with particular project
Convenience
Functionality
.Rproj file that links the different scripts, data sets, etc within a particular folder on your computerHow?
Go to the the little blue menu in the top the top right corner in RStudio, click on the dropdown menu, and select ‘New Project’
You can either:
Once you’ve created the project, if you have a look at the folder in Windows Explorer / Mac Finder in the respective directory, you’ll see your file!
install.packageload it every sessionWhat?
Why?
How?